﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace logical_operations
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = 0;
            while (n < 100)
            {
                if (n % 2 == 0)
                {
                    Console.ForegroundColor = ConsoleColor.Yellow;
                }
                else
                {
                    Console.ForegroundColor = ConsoleColor.Red;
                }


                Console.WriteLine("iterarion # {0}", n + 1);
                n = n + 1;
            }
            Console.ReadKey();
        }
    }
}
